﻿
using System.Collections.Generic;
using System.Diagnostics;


namespace CrazyMan.TM.Interface.Domain
{
    /// <summary>
    /// Represents the betting schedule for a tournament.
    /// </summary>
    [DebuggerDisplay("Intervals = {Intervals.Count}")]
    public class BettingSchedule
    {
        private List<Interval> _intervals;

        /// <summary>
        /// Creates a new betting schedule.
        /// </summary>
        public BettingSchedule()
        {
            //create empty schedule list.
            this._intervals = new List<Interval>();
        }

        /// <summary>
        /// Gets a list of all of the intervals making up the betting schedule.
        /// </summary>
        public List<Interval> Intervals
        {
            get { return this._intervals; }
        }
    }
}
